Services variables

Services variables give the possibility to read the status and delivering commands to VNC Server and Cloud Service.

Protocol Editor Settings

Path: ProjectView> Protocols

  1. Click + and select System Variables: the System Variables dialog is displayed.
  1. Select Services from the PLCModels list.
Tag Editor Settings

Path: ProjectView> Config > double-click Tags

  1. To add a tag, click +: a new line is added.
  2. Select System Variables from the Driver list: tag definition dialog is displayed.

VNC status variables are supported only on Linux devices (See "HMI devices capabilities") - BSP version 1.0.344 or greater is required.

Element Description Data type
VNC Start

Write 1 inside this tag to force the VNC server to start.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

VNC Stop

Write 1 inside this tag to force the VNC server to stop.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

VNC Restart

Write 1 inside this tag to force the VNC server to restart.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

VNC State

VNC server state

0 IDLE
10 RUNNING
-1 ERROR

int

Read Only

Cloud status variables are supported only from Linux devices with BSP version 1.0.298 or greater. (See "HMI devices capabilities")

Element Description Data type
Cloud Start

Write 1 inside this tag to force the cloud connection to start.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

Cloud Stop

Write 1 inside this tag to force the cloud connection to stop.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

Cloud Restart

Write 1 inside this tag to force the cloud connection to restart.

This is a write only variable, command will executed any time you rewrite it.

boolean

Write Only

Cloud State

Cloud connection state

0 IDLE
1 STARTING
10 RUNNING
100 CONNECTING
200 CONNECTED
-1 ERROR

int

Read Only

Write Only Variables cannot be read. Be sure to not use the R/W access mode to avoid the read error icon.